package com.example.myapplication.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;

/**
 * 描述：评论
 */
@Entity
public class Pinglun implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id(autoincrement = true)
    private long id;//主键
    private String luntan_id;
    private String username;
    private String head_url;
    private String content;
    private String time;
    private String user_id;

    @Generated(hash = 1065475184)
    public Pinglun(long id, String luntan_id, String username, String head_url,
            String content, String time, String user_id) {
        this.id = id;
        this.luntan_id = luntan_id;
        this.username = username;
        this.head_url = head_url;
        this.content = content;
        this.time = time;
        this.user_id = user_id;
    }

    @Generated(hash = 600873126)
    public Pinglun() {
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getLuntan_id() {
        return luntan_id;
    }

    public void setLuntan_id(String luntan_id) {
        this.luntan_id = luntan_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getHead_url() {
        return head_url;
    }

    public void setHead_url(String head_url) {
        this.head_url = head_url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
